class Rectangle{
    double length;
    double wide;

    public Rectangle(double length, double wide) {
        this.length = length;
        this.wide = wide;
    }
}
class Coide extends  Rectangle{
    double length;
    double wide;
    double high;

    public Coide(double length, double wide, double length1, double wide1, double high) {
        super(length, wide);
        this.length = length1;
        this.wide = wide1;
        this.high = high;
    }
}